package com.shaoyu.elasticsearch.dao;

import com.shaoyu.elasticsearch.entity.ElasticsearchIndex;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

@Component
public interface ElasticSearchIndexRepository extends JpaRepository<ElasticsearchIndex, String> {

    ElasticsearchIndex findElasticsearchIndexByIndexAndType(String index,String type);
}
